#pragma once
#include <winsock.h>
#include "IEventHandler.h"
#include "Handler.h"
#include "QueueElement.h"

#define HANDLE_CONNECTION_SIZE FD_SETSIZE

class DemuxTable
{
public:
    // Convert <Tuple> array to <fd_set>s
    void convert_to_fd_sets (fd_set *read_fds, fd_set *write_fds, fd_set *except_fds);

	// FD_SETSIZE macro defined in <winsock.h>
	QueueElement handleConnection[HANDLE_CONNECTION_SIZE];
};